package com.qf.fegin.api;

import com.baomidou.mybatisplus.plugins.Page;
import com.qf.entity.User;
import com.qf.resp.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;


@FeignClient("shop-user")
public interface IUservice {


    @RequestMapping("/userController/addUser")
    public ResultEntity addUser(@RequestBody User user);

    @RequestMapping("/userController/getUserPage")
    public Page<User> getUserPage(Page<User> page);

}